package com.zdzx.service;

import java.io.InputStream;

import org.springframework.web.multipart.MultipartFile;

import com.zdzx.common.result.Result;

public interface OSSService{

	public Result<String> upload(String bucketName,String type,MultipartFile file);
	
	
	public Result<String> removeFile(String url);
	
	
	public Result<String> getUrl(String bucketName,String objectName);


	InputStream downFile(String bucketName, String objectName);
}
